package com.h.logic;

public class Count {
	
	public int count(int n){
		
		if(n > 10){
			return 0;
		}
		
		int result = 10;
		for(int i=9 ;i >=1 ;i--){
			result = result * i;
		}
		return result + count(n-1);
	}
}
